package com.baosight.risk.service.xtaa.calendar.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Table: T_XTAA_CALENDAR
 */
@Data
@ApiModel
@Table(name = "T_XTAA_CALENDAR")
public class TXtaaCalendar extends BaseEntity {

    /**
     * 年度
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    ACCT_YEAR
     * Nullable:  true
     */
    @ApiModelProperty("年度")
    @Column(name = "ACCT_YEAR")
    private String acctYear;

    /**
     * 季度
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    QUARTER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_CODE")
    private String quarterCode;

    /**
     * 季度
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    QUARTER_NAME
     * Nullable:  true
     */
    @ApiModelProperty("季度")
    @Column(name = "QUARTER_NAME")
    private String quarterName;

    /**
     * 月份
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    ACCT_MONTH
     * Nullable:  true
     */
    @ApiModelProperty("月份")
    @Column(name = "ACCT_MONTH")
    private String acctMonth;

    /**
     * Table:     T_XTAA_CALENDAR
     * Column:    WEEK
     * Nullable:  true
     */
    @ApiModelProperty("周")
    @Column(name = "WEEK")
    private String week;

    /**
     * Table:     T_XTAA_CALENDAR
     * Column:    CALENDAR_DAY
     * Nullable:  true
     */
    @ApiModelProperty("天")
    @Column(name = "CALENDAR_DAY")
    private Date calendarDay;

    /**
     * 工作日标识（Y-是N-否）
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    WORK_DAY_FLAG
     * Nullable:  true
     */
    @ApiModelProperty("工作日标识（Y-是N-否）")
    @Column(name = "WORK_DAY_FLAG")
    private String workDayFlay;

    /**
     * 备注
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTAA_CALENDAR
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private String rowOrder;

    private static final long serialVersionUID = 1L;
}